package com.liuyjy.strategy;

/**
 * @Author liuyjy
 * @Date 2025/2/19 12:49
 * @Description: TODO
 **/
public class PromotionContext {
    private PromotionStrategy strategy;

    public PromotionContext(PromotionStrategy strategy) {
        this.strategy = strategy;
    }

    public void executePromotion() {
        strategy.applyPromotion();
    }
}
